package com.akl.ssmspringboot.netty_websocket;

import io.netty.channel.group.ChannelGroup;
import io.netty.channel.group.DefaultChannelGroup;
import io.netty.util.concurrent.GlobalEventExecutor;

/**
 * @ClassName: NettyConfig
 * @Description 存储工程的全局配置
 * @Author guoxy
 * @Date 2019/4/16 0016
 * @Version 1.0
 */
public class NettyConfig {

    /**
     * 存储每一个客户端接入进来的channel对象
     */
    public static ChannelGroup group = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE);

}
